<?php
declare (strict_types = 1);

namespace app\system\controller;

use app\system\BaseController;
use app\system\service\LogsService;
use app\system\service\WechatUserService;
use think\App;
use think\Request;

class Logs extends BaseController
{

    private LogsService $service;

    public function __construct(App $app)
    {
        $this->service = new LogsService();
        parent::__construct($app);
    }

    /**
     * 显示资源列表
     *
     * @return \think\Response
     */
    public function getOperLogPageList()
    {
        return $this->success($this->service->getList($this->request->get()));
    }
}
